public class Student {
    private String name;
    private String studentID;
    private String className;
    private String gender;
    private int age;
    private String personality;

    public Student(String name, String studentID, String className, String gender, int age, String personality) {
        this.name = name;
        this.studentID = studentID;
        this.className = className;
        this.gender = gender;
        this.age = age;
        this.personality = personality;
    }

    public String getName() { return name; }
    public String getStudentID() { return studentID; }
    public String getClassName() { return className; }
    public String getGender() { return gender; }
    public int getAge() { return age; }
    public String getPersonality() { return personality; }

    public String infoSummary() {
        return "姓名: " + name + ", 学号: " + studentID + ", 班级: " + className + ", 性别: " + gender + ", 年龄: " + age + ", 性格: " + personality;
    }

    public static void main(String[] args) {
        Student s1 = new Student("疏谨", "114514", "瓦洛兰特11班", "男", 19, "抽象");
        Student s2 = new Student("古月方源", "1919810", "人山人海2班", "女", 21, "a");
        Student s3 = new Student("石昊", "0721", "武王府3班", "男", 22, "b");

        System.out.println(s1.infoSummary());
        System.out.println(s2.infoSummary());
        System.out.println(s3.infoSummary());
    }
}
